<!DOCTYPE html>
<html lang="zh-CN">
  <head>
  	<!--定义好页面编码 -->
    <meta charset="utf-8">  
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!--描述：这里定义好移动端的自适应-->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap 模板</title>
    <!-- 引入好Bootstrap css样式文件 -->
    <link href="css/bootstrap.css" rel="stylesheet">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
      <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
    <!--描述：引入js文件 记住一定要先引入JQuery的支持-->
    <script src="js/jquery-1.12.4.js"></script>
    <!-- 引入bootStrap的js文件-->
    <script src="js/bootstrap.js"></script>
 	<script type="text/javascript" src="js/news_list.js"></script>
    <script type="text/javascript" src="js/del.js"></script>
  </head>
  <body>
  	<!-- 这里写代码-->
		<div class="container-fluid">
			<div class="row">
				<div class="col-lg-12">
					<!-- 由一个大的Panel组成-->
					<div class="panel panel-success">
						<div class="panel-heading">
							<span class="panel-title">新闻管理</span>
						</div>
						<div class="panel-body">
							<table class="table table-bordered table-striped" id="mytable">
								<tr>
									<th class="text-center">
											<input type="checkbox" id="selectAll" name="selectAll" />
									</th>
									<th class="text-center">标题</th>
									<th class="text-center">发布时间</th>
									<th class="text-center">操作</th>
								</tr>
								<tr >
									<td class="text-center">
										<input type="checkbox" id="nid" name="nid">
									</td>
									<td class="text-center">BootStrap课程发布</td>
								    <td class="text-center">2019-10-10</td>
									<td class="text-center">
										<a class="btn btn-xs btn-warning">修改</a>
									</td>
								</tr>
								<tr>
									<td class="text-center">
										<input type="checkbox" id="nid" name="nid">
									</td>
									<td class="text-center">JQuery课程发布</td>
								    <td class="text-center">2018-10-10</td>
									<td class="text-center">
										<a class="btn btn-xs btn-warning">修改</a>
									</td>
								</tr>
								<tr>
									<td class="text-center">
										<input type="checkbox" id="nid" name="nid">
									</td>
									<td class="text-center">Java10课程发布</td>
									<td class="text-center">2017-10-10</td>
									<td class="text-center">
										<a class="btn btn-xs btn-warning">修改</a>
									</td>
								</tr>
								<tr>
									<td class="text-center">
										<input type="checkbox" id="nid" name="nid">
									</td>
									<td class="text-center">数据库课程发布</td>
									<td class="text-center">2016-10-10</td>
									<td class="text-center">
										<a class="btn btn-xs btn-warning">修改</a>
									</td>
								</tr>
								<tr>
									<td colspan="4">
										<button type="button" class="btn btn-danger" id="delbtn">删除&nbsp;<span class="glyphicon glyphicon-trash"></span></button>
									</td>
								</tr>
							</table>
							<!-- 设置分页组件-->
							<ul class="pagination pull-right" id="pagecontrol">
							 <!-- 分页的数据动态给定 -->
							</ul>
						</div>
						<div class="panel-footer">
							测试数据
							<span class="badge pull-right">广州金鹏集团</span>
						</div>
					</div>
					
				</div>
				<div class="modal fade " id="mydialog" data-backdrop="static">
					<div class="modal-dialog">
						<div class="modal-content">
							<div class="modal-header">
								<button class="close" onclick="closedialog()">&times;</button>
								<div class="h4 modal-title" id="title">提示</div>
							</div>
							<div class="modal-body ">
								<span>没有选中要删除的数据,请先选择要删除的数据。</span>
							</div>
							<div class="modal-footer">
								<button class="btn btn-primary" onclick="closedialog();">关闭</button>
							</div>
						</div>
					</div>
				</div>
			</div>
			
		</div>
  </body>
</html>